package com.lzs.Service;

import java.util.Map;

import com.lzs.PO.Page;
import com.lzs.PO.User;

public interface UserService {
	
public User check(String username, String password);

public Page findUserPagelist(String keyword, Integer pageNum, Integer pageSize);

public void addUser(User user);

public void addUserRole(Map<String, Object> map);

public Boolean countUserById(Integer userid);

public User findUserRoleById(Integer userid);

public void updateUser(User user);

public void updateUserRole(Map<String, Object> map);

public void deleteUser(Integer userid);

public void deleteUserRoleById(Map<String, Object> map);

}
